<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>我是注册页面</title>
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .box {
            width: 400px;
            height: 200px;
            box-shadow: 1px 1px 5px black;
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            border-radius: 10px;
            display: flex;
            flex-direction: column;
            justify-content: space-evenly;
            align-items: center;
        }
    </style>
</head>

<body>
    <div class="box">
        <h3>欢迎注册</h3>
        <form action="http://localhost:3000/doregister" method="post">
            <p><span>姓名：</span><input type="text" name="username" placeholder="请输入您的姓名"></p>
            <p><span>密码：</span><input type="text" name="password" placeholder="请输入您的密码"></p>
            <button>点击注册</button>
        </form>
    </div>

</body>

</html>